1ab105992ae381fa011556043ffd35bf1782f3ce,Items/ItemCrystalSeeds.java,ItemCrystalSeeds,onItemUse,#ItemStack#EntityPlayer#World#number#number#number#number#number#number#number#,41
Before Change
++x;
}
Block idbelow = world.getBlock(x, y-1, z);
if ((!ReikaWorldHelper.softBlocks(world.getBlock(x, y, z))) || !ReikaPlantHelper.SAPLING.canPlantAt(world, x, y, z))
return false;
if (!player.canPlayerEdit(x, y, z, 0, item))
return false;
After Change
}
@Override
public boolean onItemUse(ItemStack item, EntityPlayer player, World world, int x, int y, int z, int side, float par8, float par9, float par10) {
if (!ReikaWorldHelper.softBlocks(world, x, y, z)) {
if (side == 0)
--y;
if (side == 1)
++y;
if (side == 2)
--z;
if (side == 3)
++z;
if (side == 4)
--x;
if (side == 5)
++x;
}
Block idbelow = world.getBlock(x, y-1, z);
if ((!ReikaWorldHelper.softBlocks(world, x, y, z)) || !ReikaPlantHelper.SAPLING.canPlantAt(world, x, y, z))
return false;
if (!player.canPlayerEdit(x, y, z, 0, item))
return false;